package com.example.movie_control;
import java.time.LocalDateTime;

public class Schedule {
    private String scheduleId;
    private String movieId;
    private String hallId;
    private LocalDateTime showTime;
    private double price;

    public Schedule(String scheduleId, String movieId, String hallId, LocalDateTime showTime, double price) {
        this.scheduleId = scheduleId;
        this.movieId = movieId;
        this.hallId = hallId;
        this.showTime = showTime;
        this.price = price;
    }

    // Getter & Setter
    public String getScheduleId() { return scheduleId; }
    public void setScheduleId(String scheduleId) { this.scheduleId = scheduleId; }
    public String getMovieId() { return movieId; }
    public void setMovieId(String movieId) { this.movieId = movieId; }
    public String getHallId() { return hallId; }
    public void setHallId(String hallId) { this.hallId = hallId; }
    public LocalDateTime getShowTime() { return showTime; }
    public void setShowTime(LocalDateTime showTime) { this.showTime = showTime; }
    public double getPrice() { return price; }
    public void setPrice(double price) { this.price = price; }
}